package com.cinyi.cyds.base.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * EasyUI DataGrid模型
 * @author penghui
 * @param <T>
 */
public class DataGrid<T> implements java.io.Serializable {

	/**
     * 
     */
    private static final long serialVersionUID = 8219457094565165459L;
    
    /**
     * 查询总数
     */
    private Long total = 0L;
        
    /**
     * 页面要显示的记录集合
     */
	private List<T> rows = new ArrayList<T>();

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

}
